Combinatory Logic and - Calculus for Classical Logic
نویسندگان
چکیده
Since Gri n's work in 1990, classical logic has been an attractive target for extracting computational contents. However, the classical principle used in Gri n's type system is the double-negation-elimination rule, which prevents one to analyze the intuitionistic part and the purely classical part separately. By formulating a calculus with J (for the elimination rule of falsehood) and P (for Peirce formula which is concerned with purely classical reasoning) combinators, we can separate these two parts. This paper studies the PJ calculus withP and J combinators and the C calculus with C combinator(for the double-negation-elimination rule). We also propose two -calculi which correspond to PJ and C. We give four classes of reduction rules for each calculus, and systematically study their relationship by simulating reduction rules in one calculus by the corresponding one in the other. It is shown that, by restricting the type of P, simulation succeeds for several choices of reduction rules, but that simulating the full calculus PJ in C succeeds only for one class. Some programming examples of our calculi such as encoding of conjunction and disjunction are also given.
منابع مشابه
Normal Forms in Combinatory Logic
Let R be a convergent term rewriting system, and let CR-equality on (simply typed) combinatory logic terms be the equality induced by βηRequality on terms of the (simply typed) lambda calculus under any of the standard translations between these two frameworks for higher-order reasoning. We generalize the classical notion of strong reduction to a reduction relation which generates CR-equality a...
متن کاملReversible combinatory logic
The λ-calculus is destructive: its main computational mechanism – beta reduction – destroys the redex and makes it thus impossible to replay the computational steps. Combinatory logic is a variant of the λ-calculus which maintains irreversibility. Recently, reversible computational models have been studied mainly in the context of quantum computation, as (without measurements) quantum physics i...
متن کاملClassical Combinatory Logic
Combinatory logic shows that bound variables can be eliminated without loss of expressiveness. It has applications both in the foundations of mathematics and in the implementation of functional programming languages. The original combinatory calculus corresponds to minimal implicative logic written in a system “à la Hilbert”. We present in this paper a combinatory logic which corresponds to pro...
متن کاملReversible Combinatory Logic
The λ-calculus is destructive: its main computational mechanism – beta reduction – destroys the redex and makes it thus impossible to replay the computational steps. Combinatory logic is a variant of the λ-calculus which maintains irreversibility. Recently, reversible computational models have been studied mainly in the context of quantum computation, as (without measurements) quantum physics i...
متن کاملCombinatory Weak Reduction in Lambda Calculus
Combinatoty logic claims to do the same work as I-calculus but with a simpler language and a simpler reduction process. In a sense this claim is true: the classical reduction process in ir-calculus is indeed more complex than that in combinatory logic. But by changing its definition only slightly one can define in I-calculus a perfect analogue of combinatory reduction. This analogue was first f...
متن کاملSemantic consistency proofs for systems of illative combinatory logic
Illative systems of combinatory logic or lambda-calculus consist of type-free combinatory logic or lambda-calculus extended with additional constants intended to represent logical notions. In fact, early systems of combinatory logic and lambda calculus (by Schönfinkel [15], Curry [4] and Church [2, 3]) were meant as very simple foundations for logic and mathematics. However, the Kleene-Rosser a...
متن کامل